home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 27 / q27.d81 / t.dt128 docs 8 < prev    next >
Text File  |  2022-08-28  |  14KB  |  340 lines

  1.  
  2.  
  3.  Macro Module
  4.  ------------
  5.  
  6. The macro module allows you to redefine up to 26 keys in terminal mode.
  7. The keys that you may redefine are:
  8.  
  9.        The 8 function keys (F1 - F8)
  10.        The entire keypad
  11.        The 4 arrow keys
  12.  
  13. This makes for a total of 26 possible macros.  The exception to this is if
  14. you are in C/G terminal mode.  In that mode you may define a macro for the
  15. 8 function keys only.
  16.  
  17. The module can be entered 2 different ways.  The first is through the
  18. miscellaneous menu.  The second way is directly from terminal mode by using
  19. the short Alt-V command.
  20.  
  21. Once you have entered the module you have 2 options.  The first is to edit
  22. the buffer.  This option takes you directly to the main system buffer
  23. editor (the same as "Edit Buffer" in the buffer menu except that when you
  24. exit the editor you return to the module).  The main buffer is used to
  25. create the 26 macros. The second option in the module is to load macros.
  26. This moves the 26 macros into the module's private buffer area which frees
  27. up the main buffer should you need to use it.
  28.  
  29. Macro format:
  30.  
  31. F1 macro text<NULL>F2 macro text<NULL>...KEYPAD ENTER text<NULL>
  32.  
  33. Each macro must end with a null character (Ascii 0, type CTRL-@ to enter it
  34. in the editor).  The null characters act as end markers for each macro.  If
  35. you are starting from scratch you should clear the buffer and enter exactly
  36. 26 null characters.  You must ALWAYS have 26 macros defined or the "Load
  37. Macros" option will not work.  If you entered the editor from this module
  38. there is one additional command which may be used.  The normal F8 editor
  39. command is changed to show you in which macro the current cursor position
  40. is.  To follow our example you should have 26 null characters in the
  41. buffer.  Position the cursor upon any of the nulls and press F8.  You will
  42. then see which macro the cursor is currently in.  The 26 macros are defined
  43. in the following order:
  44.  
  45. F1, F2, F3, F4, F5, F6, F7, F8, Up Arrow, Down Arrow, Left Arrow, Right
  46. Arrow, Keypad 0-9, Period, Plus, Minus, ENTER.
  47.  
  48. When you have created a set of 26 macros you may use the standard "Save
  49. Buffer" in the Buffer Menu to save your macro set.  You may re-load/modify
  50. your macros as often as you wish.
  51.  
  52. When you are in terminal mode and you press one of the 26 macro keys the
  53. key will send the macro you defined for that key.  If you have not defined
  54. a macro for a key it becomes "dead" and nothing is transmitted.
  55.  
  56. A Step-By-Step Method to Defining Your Macros (Offline):
  57.  
  58.  1.  Load this module through the "Miscellaneous Menu"
  59.  
  60.  2.  Press ESCape until you are at the main menu and enter terminal mode.
  61. Set the terminal type to that desired (short Alt-T).
  62.  
  63.  3.  Type "ATE1" followed by RETURN until you see the modem respond "Ok".
  64. You may also wish to turn on local linefeeds (short Alt-L).
  65.  
  66.  4.  Press short Alt-V to jump to the module directly from terminal mode,
  67. then select "Edit Buffer"
  68.  
  69.  5.  Enter 26 null characters at the start of the buffer
  70.  
  71.  6.  Position the cursor to a key you wish to define (press F8 to verify
  72. you are in the correct place)
  73.  
  74.  7.  Type a sample string, anything you like
  75.  
  76.  8.  Press ESCape to return to this module, then select "Load Macros"
  77.  
  78.  9.  Press ESCape again to return to terminal mode.  Now press the key(s)
  79. you defined.  You should see the string on your screen each time you press
  80. the key.
  81.  
  82.  10. You may use the Alt-V/Edit/Load sequence as often as you want.
  83.  
  84.  11. When you are satisfied with the macros you have created you should
  85. save the buffer to disk.  You can then load this file into the buffer at a
  86. later time and then re-load them into this module.
  87.  
  88.  12. You should also reset the modem by typing "ATE0" followed by RETURN in
  89. terminal mode or by selecting the "Initialize Modem" option in the RS-232
  90. Menu.
  91.  
  92. Notes:
  93.  
  94.  This module is not particularly user friendly so be patient when you are
  95. first using it.  To further aid you the file "sample macros" is supplied on
  96. your system disk.  You should load this file into the buffer using True
  97. Ascii and study it.  The file sets up the 26 macros to send a string
  98. telling which key was pressed, i.e. if you press F1 the string "F1" is
  99. transmitted, etc.  To see it in action after loading the file into the
  100. buffer enter this module and select the "Load Macros" option.  Then enter
  101. terminal mode, turn on the modem's echo with ATE1, then press each of the
  102. 26 macro keys.  The sample file can also be used as a shell.  Simply
  103. replace the text with your strings for each key.
  104.  
  105. Each time you select "Load Macros" any previously loaded macros are
  106. overwritten.  If your macros are not set up properly in the buffer or they
  107. are too big as a whole (you can store approximately 3,500 bytes) the macros
  108. will not load into the module and all macro keys become "dead".  If this
  109. happens you will have to re-enter the editor and verify that you have 26
  110. macros defined and that the size of of 26 macros combined does not exceed
  111. the macro buffer size.
  112.  
  113. Macros remain in affect until you select another system module.
  114.  
  115.  
  116.  Configure RS-232
  117.  ----------------
  118.  
  119. C128 Recognizes DTR:
  120.  
  121.     When "Yes" the computer controls the DTR (Data Terminal Ready) line.
  122.  
  123.     Older 1670s do not support this line - you must set this to "No" if you
  124. are using that type of modem.
  125.  
  126.     Newer 1670s do support this line.  If you set this to "No" then DIP
  127. switch 4 must be down.  If you set this to "Yes" then DIP switch 4 must be
  128. up.
  129.  
  130.     The way you set this line determines how the modem is taken off-line.
  131. If this option is "No" the hang up procedure is:
  132.  
  133.      Clear transmission buffer
  134.      Pause for 1.5 seconds
  135.      Modem escape sequence is sent to the modem
  136.      Pause for 1.5 seconds
  137.      ATS0=0H0 is sent to the modem (disable auto-answer and hang up)
  138.      Pause 1.5 seconds
  139.      If a carrier is still present then repeat
  140.  
  141.     If this option is "Yes" the hang up procedure is:
  142.  
  143.      Clear transmission buffer
  144.      Toggle the DTR line
  145.      Pause for 1 second
  146.      Toggle the DTR line (returns to original state)
  147.      If a carrier is still present then repeat
  148.  
  149.     Make sure this setting matches the set up of your modem!  If it doesn't
  150. you will have problems.  If this option is "No" your modem should be set to
  151. ignore the DTR line.  If this option is "Yes" your modem should be set to
  152. hang up and return to command mode following an ON-to-OFF transition of the
  153. DTR line.  This may require setting DIP switches or by using the "&Dx"
  154. Hayes command which accomplishes this, where the "x" is the value required
  155. by your modem.
  156.  
  157. Recognize SI Line (Pin J)
  158.  
  159.     SI is the "speed indicate" line.  This tells the computer the baud rate
  160. of an incoming call.  The old 1670s do not support this function, but the
  161. newer 1670s do.  If you have this option set to "Yes" dip switch 3 must be
  162. down.  For other modems consult your manual to see if this function is
  163. supported.
  164.  
  165. SI Bps:
  166.  
  167.     Defines the speed of an incoming call when the SI line goes low.  This
  168. option is not used unless you are using the SI line to determine a caller's
  169. baud rate.
  170.  
  171. Modem Type:
  172.  
  173.     "1670" is the correct setting for the older 1670 modem.  "Hayes" is the
  174. correct setting for modems that are 100% Hayes compatible (including newer
  175. 1670s).  This setting is important for the "Initialize Modem" option (see
  176. "rs232.asc").
  177.  
  178. Escape Code:
  179.  
  180.     This is the Ascii code used as the modem escape character which can be
  181. changed with the "S2=" command (defaults to Ascii 43 "+").  If you want to
  182. use a different character you must first change the "S2=" in the modem
  183. initialization string.  Then select the "Initialize Modem" command.  After
  184. the modem is initialized change the value here to the Ascii value you used.
  185. You will probably never need to change this.
  186.  
  187. Handshaking Mode:
  188.  
  189.     Should be 3-line.
  190.  
  191. Duplex:
  192.  
  193.     Should be set to "Full".
  194.  
  195. Carrier Detect:
  196.  
  197.     The normal setting is "Inverted" for 1670s.  If you have this setting
  198. wrong the program will think there is a carrier when there isn't and it
  199. won't recognize a carrier when there is.  If you are using a modem that
  200. requires an interface you may need to set this to "Normal" depending on how
  201. your interface is set up.  If the carrier detect is backwards try changing
  202. this.
  203.  
  204.     Some modems have the ability to def